<div class="form">
<?php $form = $this
	->beginWidget('CActiveForm',
		array(
			'id' => 'user-access-form',
			'enableAjaxValidation' => false,
		));
?>

	<p class="note">带 <span class="required">*</span> 的是必填的哦！</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model, 'userId'); ?>
		<?php echo $form->textField($model, 'userId'); ?>
		<?php echo $form->error($model, 'userId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model, 'employeeAdmin'); ?>
		<?php echo $form->textField($model, 'employeeAdmin'); ?>
		<?php echo $form->error($model, 'employeeAdmin'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>
<?php $this->endWidget(); ?>

</div><!-- form -->
